package com.ynny.interfance_.demo03;

public abstract class Vehicle {

    private String brand;//品牌
    private String color;//颜色

    public Vehicle(){

    }

    public Vehicle(String brand, String color) {

        this.brand = brand;
        this.color = color;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public abstract void run();

}
